SERVER=udp_server
CLIENT=udp_client
CC=g++
SERVER_SRC=UdpServerMain.cc
CLIENT_SRC=UdpClientMain.cc

.PHONY:all
all:$(SERVER) $(CLIENT)
$(SERVER):$(SERVER_SRC)
	$(CC) -o $@ $^ -std=c++17
$(CLIENT):$(CLIENT_SRC)
	$(CC) -o $@ $^ -std=c++17
.PHONY:clean
clean:
	rm -rf $(SERVER) $(CLIENT)
